class ControlFunc {
    private static instance:ControlFunc;

    public static getInstance():ControlFunc {
        if(this.instance == null){
            this.instance = new ControlFunc();
        }
        return this.instance;
    }
    private speed:number=0.001;
    public setMove(num1:number,num2:number):void{
        DataInfoInstance.getInstance().camera.transform.translate(new Laya.Vector3(-num1*this.speed,num2*this.speed,0),true);
    }
}